import myAxios1 from "../utils/request";

// 先验证手机号是否可以注册
export function doCheckPhone(data) {
    return myAxios1.post('/user/docheckphone',data)
}

// 发送验证码
export function doEndMsgCode(data) {
    return myAxios1.post('user/dosendmsgcode',data)
}

// 验证验证码
export function doCheckCode(data) {
    return myAxios1.post('user/docheckcode',data)
}

// 注册
export function doFinishRegister(data){
    return myAxios1.post('user/dofinishregister',data)
}

// 登录
export function Login(data){
    return myAxios1.post('/user/login',data)
}